﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace DevM.Development.Projects.Dto
{
    [AutoMapTo(typeof(Environment))]
    public class UpdateEnvironmentInput : EntityDto<long>
    {
        [Required]
        [StringLength(200)]
        public string Name { get; set; }
        [StringLength(100)]
        public string Host { get; set; }
        [StringLength(200)]
        public string DbConnectStr { get; set; }
        [StringLength(20)]
        public string DbType { get; set; }
        [Required]
        [StringLength(20)]
        public string Color { get; set; }
        [Required]
        public int Order { get; set; }
        [Required]
        public long ProjectId { get; set; }
    }
}
